package cn.kgc.client;

import cn.kgc.base.vo.OrderSpuInfoVo;
import cn.kgc.commons.vo.Result;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;

/**
 * <p>添加描述信息</p>
 *
 * @author 卢传琪
 */
@FeignClient(value = "mall-pms",path = "/pms",fallback = PmsFeignClientImpl.class)
public interface PmsFeignClient {
    @PostMapping("/Spu/Info/getOrderSpuInfo")
    Result<Map<Long, OrderSpuInfoVo>> getOrderSpuInfo(@RequestBody HashSet<Long> spuIdSet);
}
